package org.dromara.germbank.domain.bo;

import io.github.linpeilie.annotations.AutoMapper;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.Size;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.dromara.common.mybatis.core.domain.BaseEntity;
import org.dromara.germbank.domain.BusOperationsKnowledge;

/**
 * 注册 Bo
 *
 * @author congxing
 */
@Data
@EqualsAndHashCode(callSuper = true)
@AutoMapper(target = BusOperationsKnowledge.class, reverseConvertGenerate = false)
public class BusApproveRegisterBo extends BaseEntity {

    /**
     * 部门名称
     */
    @NotBlank(message = "部门名称不能为空")
    @Size(min = 0, max = 30, message = "部门名称长度不能超过{max}个字符")
    private String registerName;
}
